<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/view/system/common/head.jsp"%>
<script type="text/javascript" src="asserts/system/js/ajaxfileupload.js"></script>
<script type="text/javascript" src="asserts/plugins/easyui/plugins/jquery-easyui-datagridview/datagrid-detailview.js"></script>
<style type="text/css">
    .errormsg {
        font-family: "微软雅黑";
        color: #F30;
    }
</style>
<body>
<div class="outer">


        <div class="formDiv">
            <table width="" border="0" style="margin-left: 20px;">
                <tr>
                    <form:input id = "hiddenImgValue1" path="worksImg1" type="hidden" value="${adv.picUrl}"/>
                    <form:input id = "hiddenImgValue2" path="worksImg2" type="hidden" value="${adv.thumbnailUrl}"/>
                        <form:input id = "advId"  type="hidden" value="${advId}"/>

                <tr>
                    <td align="right">大图：</td>
                    <td align="left">

                        <img id="realPic1" src="${adv.picUrl}"  width="123" height="89"/>


                    </td>
                </tr>
                <tr>
                    <td align="right">小图：</td>
                    <td align="left">
                             <img id="realPic2" src="${adv.thumbnailUrl}"  width="123" height="89"/>

                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td>
                        <a  class="easyui-linkbutton myLink" iconCls="icon-ok" style="margin-left:20px;"
                            onclick="close()">关闭 </a>
                       </td>
                </tr>

            </table>
        </div>

</div>
<script>
    jQuery(document).ready(function() {
        //  App.init(); // initlayout and core plugins
    });
</script>
<script>
    function close(){
        var el =  parent.window.document.getElementById('menuAddFrame');
        var iframe = el.contentWindow;
        if(el){
            el.src = 'about:blank';
            try{
                iframe.document.write('');
                iframe.document.clear();
            }catch(e){};
            parent.window.document.body.removeChild(el);
        }
    }


</script>
</body>
</html>